package com.generator.service;

import com.generator.entity.ValueRule;
import com.generator.dto.ValueRuleDto;
import org.springframework.http.ResponseEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;


public interface ValueRuleService extends IService<ValueRule>{


   /**
     * 列表查询
     */
     ResponseEntity list(Page pageDto, ValueRule valueRule);
    /**
     * 保存
     */
     ResponseEntity save(ValueRuleDto valueRule);

    /**
     * 删除所有
     */
     ResponseEntity delAll(List<Integer> ids);

    /**
     * 根据数据库配置和列名获取值规则
     */
    ResponseEntity getcolumnvalueRule(String id,String column);

}